package com.iweibo.bean;

import java.util.Map;

public class Task {
	// 任务id
	private int taskId;
	// 任务参数
	private Map<String, Object> taskParameters;
	/** 微博登陆 */
	public static final int WEIBO_LOGIN = 1;

	public Task(int taskId, Map<String, Object> taskParameters) {
		this.taskId = taskId;
		this.taskParameters = taskParameters;
	}

	public int getTaskId() {
		return taskId;
	}

	public void setTaskId(int taskId) {
		this.taskId = taskId;
	}

	public Map<String, Object> getTaskParameters() {
		return taskParameters;
	}

	public void setTaskParameters(Map<String, Object> taskParameters) {
		this.taskParameters = taskParameters;
	}

}
